'use strict';
var src = './src';
var dest = './build';

module.exports = {
    build: {
        src: dest
    },
    css: {
        src: src + "/css/**/*", // 需要压缩的css
        dest: dest + "/css", // 输出目录
        settings: {
            compatibility: 'ie8'
        }
    },
    images: {
        src: src + "/images/**/*", // 需要压缩的image
        dest: dest + "/images", // 输出目录
    },
    js: {
        src: src + "/js/**/*", // 需要编译的js
        dest: dest + "/js", // 输出目录
    },
    html: {
        src: src + "/app/**/*", // 需要编译的html
        dest: dest + "/app",
        settings: {
            collapseWhitespace: true
        }
    },
    bower: {
        src: [
            "./bower.json", "./.bowerrc"
        ],
        dest: dest + "/"
    },
    fonts: {
        src: src + "/fonts/**/*", // 需要编译的fonts
        dest: dest + "/fonts"
    },
    configs: {
        src: src + "/config/**/*.js",
        dest: dest + "/config"
    },
    lint: {
        include: src + 'js/**/*.js'
    },
    test: {
        src: "/Users/leif/Project/demo/test/karma.config.js"
    },
    clean: {
        src: [
            dest + "/app",
            dest + "/config",
            dest + "/css",
            dest + "/js",
            dest + "/images"
        ]
    }
};
